package com.linkage.usercenter.pojo.entity;

import com.linkage.usercenter.pojo.baseDO.TableBaseBO;

import java.io.Serializable;
import java.util.Date;

/**
 * 这是MyBatis Generator自动生成的Model Class.
 * 对应的数据表是 : CORE_POST_INFO
 * @author dev
 * @date 2020-04-19 15:17:07
 */
public class CorePostInfo extends TableBaseBO implements Serializable {


    /**
     * 职务代码
     */
    private String postCode;

    /**
     * 职务名称
     */
    private String postName;

    /**
     * 归属部门代码
     */
    private String postDptCode;

    /**
     * 上级职务代码
     */
    private String postParentCode;

    /**
     * 职务等级
     */
    private Integer postLevel;

    /**
     * 职务描述
     */
    private String postDesc;

    /**
     * 职务状态
     */
    private String postStatus;



    private static final long serialVersionUID = 1L;


    public String getPostCode() {
        return postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode == null ? null : postCode.trim();
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName == null ? null : postName.trim();
    }

    public String getPostDptCode() {
        return postDptCode;
    }

    public void setPostDptCode(String postDptCode) {
        this.postDptCode = postDptCode == null ? null : postDptCode.trim();
    }

    public String getPostParentCode() {
        return postParentCode;
    }

    public void setPostParentCode(String postParentCode) {
        this.postParentCode = postParentCode == null ? null : postParentCode.trim();
    }

    public Integer getPostLevel() {
        return postLevel;
    }

    public void setPostLevel(Integer postLevel) {
        this.postLevel = postLevel;
    }

    public String getPostDesc() {
        return postDesc;
    }

    public void setPostDesc(String postDesc) {
        this.postDesc = postDesc == null ? null : postDesc.trim();
    }

    public String getPostStatus() {
        return postStatus;
    }

    public void setPostStatus(String postStatus) {
        this.postStatus = postStatus == null ? null : postStatus.trim();
    }


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", postCode=").append(postCode);
        sb.append(", postName=").append(postName);
        sb.append(", postDptCode=").append(postDptCode);
        sb.append(", postParentCode=").append(postParentCode);
        sb.append(", postLevel=").append(postLevel);
        sb.append(", postDesc=").append(postDesc);
        sb.append(", postStatus=").append(postStatus);
        sb.append(", createCode=").append(createCode);
        sb.append(", createDate=").append(createDate);
        sb.append(", updateCode=").append(updateCode);
        sb.append(", updateDate=").append(updateDate);
        sb.append("]");
        return sb.toString();
    }
}